package com.ruoyi.xst.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门牌对象 hardware
 * 
 * @author Rambo
 * @date 2024-11-21
 */
public class Hardware extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** MAC地址 */
    @Excel(name = "MAC地址")
    private String mac;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thumbUrl;

    /** 更新人 */
    private String udpateBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setMac(String mac) 
    {
        this.mac = mac;
    }

    public String getMac() 
    {
        return mac;
    }
    public void setThumbUrl(String thumbUrl) 
    {
        this.thumbUrl = thumbUrl;
    }

    public String getThumbUrl() 
    {
        return thumbUrl;
    }
    public void setUdpateBy(String udpateBy) 
    {
        this.udpateBy = udpateBy;
    }

    public String getUdpateBy() 
    {
        return udpateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("mac", getMac())
            .append("thumbUrl", getThumbUrl())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("udpateBy", getUdpateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
